package com.sinosoft.controller;

import org.springframework.web.bind.annotation.*;

@RestController
public class CommentsController {

    @GetMapping(value = "getcomments/{id}")
    public String[] getComments(@PathVariable("id") String id, @RequestParam("pageindex") String pageIndex) {
        return null;
    }

    @PostMapping(value = "postcomment/{id}")
    public String postComments(@PathVariable("id") String id) {
        return null;
    }

}
